package com.itheima.search.mapper;



import com.itheima.search.domain.New;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Mapper
public interface NewsMapper {

    public List<New> getNews(@Param("pageNum")Integer pageNum, @Param("pageSize") Integer pageSize);
}
